﻿@model IEnumerable<Article>
@Html.Extra()
@{
    var index = 1;
}

@foreach (var item in Model)
{
    var url = item.TransferUrl.Length < 10 ? "/Articles/Detail?key="+item.TransferUrl+"&page="+Request["page"] : item.TransferUrl.Replace("gg_", "");
    <li class="item swiper-slide" style="@(index==1?"left:0px;":"")">
        <a href="@url" target="_blank" >
            <span style="display: block; position: relative">
                 <img src="@item.TitleImageUrl"  style="position: relative" width="570" height="300">
            @if(Request["page"] == "sp" ){
            <img class="play-icon" src="../../../App_Content/2.0/images/play.png">
            }
            </span>
        </a>
    </li>
    index++;
}
